import {type} from './../action'
const Reducers = (state,action) => {
    switch(aciton.type) {
        case type.SWITCH_MENU:
            return {
                ...state,
                menuName:action.menuName
            }
            default:
                return {...state}
    };
  
}
export default Reducers